<!DOCTYPE html>
<html lang="en">
<head>
    <title>购物车</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0, user-scalable=no, width=device-width">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="css/iphone.css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/yt_css/style.css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/yt_css/ipad.css">
    <link rel="stylesheet" type="text/css" href="__STATIC__/yt_css/iphone.css">
    <script type="text/javascript" src="__STATIC__/yt_js/jquery-1.9.0.min.js"></script>
    <script src="__PUBLIC__/js/layer/layer-min.js"></script>
    <script src="__PUBLIC__/js/pc_common.js"></script>
</head>
<body class="body">
<div class="container">
    <include file="user/new_header"/>
    <div class="fexiao_content">
        <div class="left">
            <h2>分销中心</h2>
            <include file="user/new_menu"/>
        </div>
        <div class="right zuji_right">
            <h2><span>我的购物车</span><img src="__STATIC__/yt_images/del.png" alt=""></h2>
            <label>
                <input type="checkbox" value=""> 全选
            </label>
            <!-- 购物车单条数据循环 -->


            <div class="shoplist">
                <div class="shophead">
                    <label>
                        <input type="checkbox">
                    </label>
                    <img src="images/del.png" alt="删除" style="float: right; margin: 10px" width="15" height="15">
                </div>
                <div class="shopbody">
                    <a href=""><img src="images/tu2.png" alt=""></a>
                    <div class="guige">
                        <h4>17年夏装新款学生T恤青春显瘦女装</h4>
                        <span>黑色</span><span>均码</span>
                    </div>
                    <b>￥9.90元</b>
                    <div class="number">
                        <button type="button" class="minus">-</button>
                        <input type="text" class="am-num-text" value="1" />
                        <button type="button" class="plus">+</button>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>



            <div class="tcdPageCode">

                <a style="float: right;  background-color: #ff4466; border-color:#ff4466; color: #FFF;width: 132px">结算</a>
                <a style="float: right;color: #666;background-color: #f9f9f9;width: 132px">继续购物</a>
            </div>
        </div>

        <div class="clear"></div>
    </div>
    <include file="public/new_footer"/>
</div>
<script type="text/javascript">
    /*点击左边标签部分选中状态*/
    $(".left ul li a").click(function(){
        $(".left ul li a").removeClass("active");
        $(this).addClass("active");
    })
    /*点击删除所在行*/
    $(".del").click(function(){
        $(this).parent().remove()
    })
</script>
<script>
    // 数量减
    $(".minus").click(function() {
        var t = $(this).parent().find('.am-num-text');
        t.val(parseInt(t.val()) - 1);
        if (t.val() <= 1) {
            t.val(1);
        }
    });
    // 数量加
    $(".plus").click(function() {
        var t = $(this).parent().find('.am-num-text');
        t.val(parseInt(t.val()) + 1);
        if (t.val() <= 1) {
            t.val(1);
        }
    });
</script>
</body>

</html>